package com.jasmine.bjstkserver.server.article.draft.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.time.LocalDateTime;

/**
 * @author jasmineXz
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ArticleDraftRes {

    private Integer articleId;
    private String  type;            // 类型 [ NOTE:笔记 BLOG:博客]
    private Integer userId;
    private Integer folderId;
    private String  name;
    private String  tag;             // 标签,用于ElasticSearch解析,分组
    private Integer words;           // 字数
    private String  coverUrl;        // 封面
    private String  top;             // 置顶 [ N:否 Y:是 ]
    private String  pubState;        // 线上 [ N:否 Y:是 ]
    private String  delState;        // 删除 [ N:否 时间戳:是 ]
    private String  versionCloud;    // 版本
    private String  version;         // 版本
    private String  contentMd;
    private String  contentHtml;

    private Integer hits;            // 点击量
    private Integer pViews;          // 浏览量
    private Integer applaud;         // 喜欢

    private LocalDateTime creTime;
    private LocalDateTime updTime;

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getFolderId() {
        return folderId;
    }

    public void setFolderId(Integer folderId) {
        this.folderId = folderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Integer getWords() {
        return words;
    }

    public void setWords(Integer words) {
        this.words = words;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public String getTop() {
        return top;
    }

    public void setTop(String top) {
        this.top = top;
    }

    public String getPubState() {
        return pubState;
    }

    public void setPubState(String pubState) {
        this.pubState = pubState;
    }

    public String getDelState() {
        return delState;
    }

    public void setDelState(String delState) {
        this.delState = delState;
    }

    public String getVersionCloud() {
        return versionCloud;
    }

    public void setVersionCloud(String versionCloud) {
        this.versionCloud = versionCloud;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getContentMd() {
        return contentMd;
    }

    public void setContentMd(String contentMd) {
        this.contentMd = contentMd;
    }

    public String getContentHtml() {
        return contentHtml;
    }

    public void setContentHtml(String contentHtml) {
        this.contentHtml = contentHtml;
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Integer getpViews() {
        return pViews;
    }

    public void setpViews(Integer pViews) {
        this.pViews = pViews;
    }

    public Integer getApplaud() {
        return applaud;
    }

    public void setApplaud(Integer applaud) {
        this.applaud = applaud;
    }

    public LocalDateTime getCreTime() {
        return creTime;
    }

    public void setCreTime(LocalDateTime creTime) {
        this.creTime = creTime;
    }

    public LocalDateTime getUpdTime() {
        return updTime;
    }

    public void setUpdTime(LocalDateTime updTime) {
        this.updTime = updTime;
    }
}
